import request from "@/http/request";

export function selectCaptcha(){
    let url="/api/kaptcha";
    return request.get(url);
}

export function register(data){
    let url="/api/customer/register";
    return request.post(url,data)
}

export function login(data){
    let url="/api/customer/login";
    return request.post(url,data);
}